<?php
 
$path = realpath(dirname(__FILE__)).'/../../application/config/database.php';
require_once $path;

if (!$db['default']['db_debug']) {
    die("For security reasons, this tool only works with DB debug mode on. Take a look in your database connection info.");
}

if ($db['default']['dbdriver'] == 'mysql') {
    $dbHostname = $db['default']['hostname'];
    $dbName = $db['default']['database'];
    $dbUsername = $db['default']['username'];
    $dbPassword = $db['default']['password'];
    $dbTablePrefix = 'nt_gd_';
    $encryptionSalt = 'BxJ';
} else {
    exit("Your default connection is not MySQL. I Only know how to work with MySQL. Sorry. I'm dumb.");
}